import { Module, Global } from '@nestjs/common';
import { ValidatorService } from './validator.service';

/**
 * Validator 验证库模块
 * 基于 NestJS 官方示例实现
 * 参考: https://docs.nestjs.cn/fundamentals/dependency-injection
 * 对应 Java: 验证工具类
 */
@Global()
@Module({
  providers: [ValidatorService],
  exports: [ValidatorService],
})
export class ValidatorModule {}
